package cn.aitrox.ry.service.oss.service;

import cn.aitrox.ry.bean.RespResult;
import cn.aitrox.ry.service.oss.dto.FileRestoreInfoDto;

import java.io.InputStream;
import java.util.List;

public interface OssFileService {

    List<FileRestoreInfoDto> urlGet(List<String> resourceKeys, Integer expireSeconds, String ossType);

    RespResult put(String key, InputStream inputStream, String originalFilename, String ossType);

    RespResult putLocal(String key, String filePath, String ossType);

    RespResult delete(String key, String ossType);

    RespResult copy(String sourceKey, String targetKey, String ossType);

    RespResult move(String filePath, String key, String ossType);
}
